<template>
  <component :is="getComponent()" />
</template>

<script>
export default {
  name: 'RenderVnode',
  props: {
    vnode: {
      type: Object,
      required: true
    }
  },
  methods: {
    getComponent() {
      return {
        render: h => this.vnode
      };
    }
  }
};
</script>
